package API;

public class String_demo02 {
    public static void main(String[] args) {
        String str = "a";
//        for (int i = 0;i<1000000000;i++){
//            str = str + "a";
//        }
//        System.out.println("over");


        StringBuilder builder = new StringBuilder(str);
        for (int i =0;i<10000000;i++){
            builder.append("a");

        }
        System.out.println("over");
    }
}
